<template>
  <div class="ok">
    <button @click=funfan>点击返回首页</button>
  </div>

</template>

<script>
export default {
methods:{
  funfan(){
    this.$router.push("/home")
  }
}
}
</script>

<style scoped>
.ok{
  background-image: url(../../public/3.jpg);
  background-size: cover;
  width: 100%;
  height: 100%;
}
*{
  margin: 0;
  padding: 0;
}
button{
  border: 0;
  background: none;
  width: 200px;
  height: 40px;
  background: orange;
  color: #fff;
  border-radius: 20px;
  line-height: 40px;
  margin-left: 140px;
  margin-top: 560px;
  font-size: 20px;
}
</style>